﻿namespace FFF.Test.Entity.FW.View
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using Abp.Domain.Entities;
    using FFF.Test.Entity.Framework.View;

	/// <summary>
    /// 公司组织表(树)视图
    /// </summary>
	[Table("View_FW_BuUnit")]
    [Display(Name = "公司组织表(树)视图", Description = "公司组织表(树)视图")]
    [AutoMapTo(typeof(ViewFWBuUnit))]  
    public partial class ViewFWBuUnit : BaseView<Guid>
    {
        /// <summary>
        /// 组织机构GUID(主键)
        /// </summary>
		[Display(Name = "组织机构GUID(主键)", Description = "组织机构GUID(主键)")]
        [Column("BuUnitNewGUID")]
        public override Guid Id { get; set; }
           
         /// <summary>
        /// 组织名称
        /// </summary>
		[Display(Name = "组织名称", Description = "组织名称")]
        [Column("BuUnitName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BuUnitName { get; set; }
           
         /// <summary>
        /// 组织编码
        /// </summary>
		[Display(Name = "组织编码", Description = "组织编码")]
        [Column("BuUnitCode", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BuUnitCode { get; set; }
           
         /// <summary>
        /// 网址
        /// </summary>
		[Display(Name = "网址", Description = "网址")]
        [Column("BuUnitWebSiteUrl", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BuUnitWebSiteUrl { get; set; }
           
         /// <summary>
        /// 传真
        /// </summary>
		[Display(Name = "传真", Description = "传真")]
        [Column("BuUnitFax", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BuUnitFax { get; set; }
           
         /// <summary>
        /// 公司地址
        /// </summary>
		[Display(Name = "公司地址", Description = "公司地址")]
        [Column("BuUnitAddress", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BuUnitAddress { get; set; }
           
         /// <summary>
        /// 法人代表
        /// </summary>
		[Display(Name = "法人代表", Description = "法人代表")]
        [Column("BuUnitLegalPerson", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string BuUnitLegalPerson { get; set; }
           
         /// <summary>
        /// 说明
        /// </summary>
		[Display(Name = "说明", Description = "说明")]
        [Column("BuUnitRemark", TypeName = "VARCHAR(9999)")]
		[StringLength(9999)]
        public string BuUnitRemark { get; set; }
           
         /// <summary>
        /// 是否公司
        /// </summary>
		[Display(Name = "是否公司", Description = "是否公司")]
        [Column("IsCompanyBuUnit")]
         public byte IsCompanyBuUnit { get; set; }
           
         /// <summary>
        /// 租户的GUID
        /// </summary>
		[Display(Name = "租户的GUID", Description = "租户的GUID")]
        [Column("TenantId")]
         public Guid? TenantId { get; set; }
           
         /// <summary>
        /// 是否删除
        /// </summary>
		[Display(Name = "是否删除", Description = "是否删除")]
        [Column("IsDeleted")]
         public byte IsDeleted { get; set; }
           
         /// <summary>
        /// 创建时间
        /// </summary>
		[Display(Name = "创建时间", Description = "创建时间")]
        [Column("CreateTime")]
         public DateTime CreateTime { get; set; }
           
         /// <summary>
        /// 创建人GUID
        /// </summary>
		[Display(Name = "创建人GUID", Description = "创建人GUID")]
        [Column("CreateGUID")]
         public Guid? CreateGUID { get; set; }
           
         /// <summary>
        /// 创建人名称
        /// </summary>
		[Display(Name = "创建人名称", Description = "创建人名称")]
        [Column("CreatedName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string CreatedName { get; set; }
           
         /// <summary>
        /// 修改时间
        /// </summary>
		[Display(Name = "修改时间", Description = "修改时间")]
        [Column("ModifiedTime")]
         public DateTime? ModifiedTime { get; set; }
           
         /// <summary>
        /// 修改人GUID
        /// </summary>
		[Display(Name = "修改人GUID", Description = "修改人GUID")]
        [Column("ModifiedGUID")]
         public Guid? ModifiedGUID { get; set; }
           
         /// <summary>
        /// 修改人名称
        /// </summary>
		[Display(Name = "修改人名称", Description = "修改人名称")]
        [Column("ModifiedName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string ModifiedName { get; set; }
           
         /// <summary>
        /// 审核状态
        /// </summary>
		[Display(Name = "审核状态", Description = "审核状态")]
        [Column("ApproveState", TypeName = "VARCHAR(32)")]
		[StringLength(32)]
        public string ApproveState { get; set; }
           
         /// <summary>
        /// 审核人GUID
        /// </summary>
		[Display(Name = "审核人GUID", Description = "审核人GUID")]
        [Column("ApproveGUID")]
         public Guid? ApproveGUID { get; set; }
           
         /// <summary>
        /// 审核时间
        /// </summary>
		[Display(Name = "审核时间", Description = "审核时间")]
        [Column("ApproveTime")]
         public DateTime? ApproveTime { get; set; }
           
         /// <summary>
        /// 父级的ID
        /// </summary>
		[Display(Name = "父级的ID", Description = "父级的ID")]
        [Column("ParentGUID")]
         public Guid? ParentGUID { get; set; }
           
         /// <summary>
        /// 树形的层级Code
        /// </summary>
		[Display(Name = "树形的层级Code", Description = "树形的层级Code")]
        [Column("FullCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string FullCode { get; set; }
           
         /// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string OrderCode { get; set; }
           
         /// <summary>
        /// 所属公司GUID
        /// </summary>
		[Display(Name = "所属公司GUID", Description = "所属公司GUID")]
        [Column("BuUnitGUID")]
         public Guid? BuUnitGUID { get; set; }
           
         /// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string Icon { get; set; }
           
         /// <summary>
        /// 企业GUID
        /// </summary>
		[Display(Name = "企业GUID", Description = "企业GUID")]
        [Column("CompanyGUID")]
         public Guid? CompanyGUID { get; set; }
           
    }
}
